//
// Created by breaktcn on 2017/6/13.
//
#include <stdio.h>
#include <string.h>
#include <libavutil/time.h>
#include <libavutil/timestamp.h>
#include <libavformat/avformat.h>
#include <libavcodec/avcodec.h>
#include <libavdevice/avdevice.h>
#include <libswscale/swscale.h>
#include <SDL2/SDL.h>
//#include <SDL/SDL.h>
#ifndef MY_FFMPEG_MY_MUXING_H
#define MY_FFMPEG_MY_MUXING_H

int muxing_file_to_file(char *filename);

int muxing_camera_to_file(char *camera_type);

int muxing_camera_to_stream(char *camera_type);

int muxing_camera_to_screen();

void decode(AVCodecContext *av_codec_context,AVPacket *av_packet,AVFrame *av_frame);

//void encode(AVFormatContext *av_format_context,AVCodecContext *av_codec_context,AVPacket *av_packet,AVPacket *pkt,AVFrame *av_frame);


#endif //MY_FFMPEG_MY_MUXING_H
